import styled from "styled-components";

export const AskCommentListDetailWrapper = styled.div`
  margin-top: 20px;
  .comment-item {
    margin-bottom: 25px;

    .ant-collapse-header {
      padding-left: 0;
    }
    .c-top {
      display: flex;
      .c-avatar {
        border-radius: 50%;
        overflow: hidden;
        width: 36px;
        height: 36px;
        margin-right: 10px;
        img {
          width: 100%;
          height: 100%;
        }
      }

      .c-uname {
        .c-name {
          .c-name-tips {
            margin-left: 4px;
            padding: 0 4px;
            background-color: rgb(252, 85, 49);
            color: white;
            font-size: 12px;
          }
        }
        .c-time {
          color: #bfbfbf;
          font-size: 13px;
        }
      }
    }

    .c-bottom {
      margin-top: 10px;

      .c-like {
        display: flex;
        align-items: center;
        div {
          margin-right: 25px;
          color: #bfbfbf;
          cursor: pointer;
        }
      }
      .comment-text-area {
        background-color: #f0f0f0;
      }
      .comment-btn {
        position: relative;
        margin-top: 20px;
        .comment-btn-submit {
          position: absolute;
          right: 0;
          box-sizing: border-box;
        }
      }
      .children {
        margin-top: 25px;
        padding-left: 30px;
        box-sizing: border-box;

        .c-avatar {
          width: 32px;
          height: 32px;
        }
        .comment-text-area {
          background-color: #f0f0f0;
        }
        .comment-btn {
          position: relative;
          margin-top: 20px;
          .comment-btn-submit {
            position: absolute;
            right: 0;
            box-sizing: border-box;
          }
        }
      }
    }
  }
`;
